<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
  <link rel="stylesheet" media="screen" type="text/css" href="./style.css" />
  <link rel="stylesheet" media="screen" type="text/css" href="./design.css" />
  <link rel="stylesheet" media="print" type="text/css" href="./print.css" />

  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>
<div class="dokuwiki export">

<h1 class="sectionedit1"><a name="pcbquick_reference" id="pcbquick_reference">PCB: Quick Reference</a></h1>
<div class="level1">

</div>
<!-- EDIT1 SECTION "PCB: Quick Reference" [160-195] -->
<h2 class="sectionedit2"><a name="additional_information" id="additional_information">Additional information</a></h2>
<div class="level2">

<p>
More information on PCB you can find in the PCB Command reference
(<em><code>refcard.pdf</code></em>) containing description of all PCB shortcuts
and in the PCB Manual (<em><code>pcb.pdf</code></em> or <em><code>pcb.html</code></em>)
residing in the <em><code>doc/</code></em> directory of your PCB installation
(its path may vary on various systems).
</p>

</div>
<!-- EDIT2 SECTION "Additional information" [196-528] -->
<h2 class="sectionedit3"><a name="default_key_mapping" id="default_key_mapping">Default Key Mapping</a></h2>
<div class="level2">

</div>
<!-- EDIT3 SECTION "Default Key Mapping" [529-561] -->
<h3 class="sectionedit4"><a name="all_keystrokes" id="all_keystrokes">All Keystrokes</a></h3>
<div class="level3">
<div class="table sectionedit5"><table class="inline">
	<tr class="row0">
		<th class="col0 centeralign">  Key                    </th><th class="col1 leftalign"> Mnemonic           </th><th class="col2 leftalign"> Description  </th>
	</tr>
	<tr class="row1">
		<td class="col0 rightalign">          <kbd>Esc</kbd> </td><td class="col1 leftalign"> select             </td><td class="col2 leftalign"> enter select mode (same as <kbd>Space</kbd>, or <kbd>F11</kbd>)  </td>
	</tr>
	<tr class="row2">
		<td class="col0 rightalign">          <kbd>Esc</kbd> </td><td class="col1 leftalign"> end of action      </td><td class="col2 leftalign"> terminate the current action, e.g. stop drawing tracks  </td>
	</tr>
	<tr class="row3">
		<td class="col0 rightalign">       <kbd>Insert</kbd> </td><td class="col1 leftalign"> insert point       </td><td class="col2 leftalign"> enter insert point mode. Click and drag on track to insert a point  </td>
	</tr>
	<tr class="row4">
		<td class="col0 rightalign">       <kbd>Return</kbd> </td><td class="col1 leftalign"> click              </td><td class="col2 leftalign"> same as a click on the left mouse button  </td>
	</tr>
	<tr class="row5">
		<td class="col0 rightalign">        <kbd>Space</kbd> </td><td class="col1 leftalign"> select             </td><td class="col2 leftalign"> enter select mode (same as <kbd>Esc</kbd>, or <kbd>F11</kbd>)  </td>
	</tr>
	<tr class="row6">
		<td class="col0 rightalign">          <kbd>Tab</kbd> </td><td class="col1 leftalign"> flip up/down       </td><td class="col2 leftalign"> view: vertical flip  </td>
	</tr>
	<tr class="row7">
		<td class="col0 rightalign">        <kbd>Shift</kbd>+<kbd>Tab</kbd> </td><td class="col1 leftalign"> flip left/right    </td><td class="col2 leftalign"> view: horizontal flip  </td>
	</tr>
	<tr class="row8">
		<td class="col0 rightalign">      <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>Tab</kbd> </td><td class="col1 leftalign"> far side           </td><td class="col2 leftalign"> view: exchange the roles of front side and far side  </td>
	</tr>
	<tr class="row9">
		<td class="col0 rightalign">          <kbd>Del</kbd> </td><td class="col1 leftalign"> delete             </td><td class="col2"> delete object under the mouse cursor </td>
	</tr>
	<tr class="row10">
		<td class="col0 rightalign">        <kbd>Shift</kbd>+<kbd>Del</kbd> </td><td class="col1 leftalign"> del-sel            </td><td class="col2"> delete objects in selection </td>
	</tr>
	<tr class="row11">
		<td class="col0 rightalign">    <kbd>Backspace</kbd> </td><td class="col1 leftalign"> del-sel            </td><td class="col2"> delete objects in selection </td>
	</tr>
	<tr class="row12">
		<td class="col0 rightalign">  <kbd>Shift</kbd>+<kbd>Backspace</kbd> </td><td class="col1 leftalign"> del-copper         </td><td class="col2 leftalign"> deletes connected copper under the cursor. Rats are considered a connection.  </td>
	</tr>
	<tr class="row13">
		<td class="col0 rightalign">   <kbd>|</kbd> </td><td class="col1 leftalign"> thin-draw  </td><td class="col2 leftalign"> toggles thin draw mode  </td>
	</tr>
	<tr class="row14">
		<td class="col0 rightalign">            <kbd>A</kbd> </td><td class="col1 leftalign"> set same           </td><td class="col2 leftalign"> read the parameters to use for new objects from the object below the cursor.  </td>
	</tr>
	<tr class="row15">
		<td class="col0 rightalign">          <kbd>Alt</kbd>+<kbd>A</kbd> </td><td class="col1 leftalign"> select-all         </td><td class="col2 leftalign"> select all objects on active layers. Deactivated layers are ignored.  </td>
	</tr>
	<tr class="row16">
		<td class="col0 rightalign">        <kbd>Shift</kbd>+<kbd>Alt</kbd>+<kbd>A</kbd> </td><td class="col1 leftalign"> unselect           </td><td class="col2 leftalign"> clear selection  </td>
	</tr>
	<tr class="row17">
		<td class="col0 rightalign">            <kbd>B</kbd> </td><td class="col1 leftalign"> to other side      </td><td class="col2 leftalign"> flip object to the other side of the board  </td>
	</tr>
	<tr class="row18">
		<td class="col0 rightalign">            <kbd>C</kbd> </td><td class="col1 leftalign"> center             </td><td class="col2 leftalign"> view: center display at cursor position  </td>
	</tr>
	<tr class="row19">
		<td class="col0 rightalign">          <kbd>Ctrl</kbd>+<kbd>C</kbd> </td><td class="col1 leftalign"> copy to buffer     </td><td class="col2 leftalign"> copy selection to buffer and unselect  </td>
	</tr>
	<tr class="row20">
		<td class="col0 rightalign">            <kbd>D</kbd> </td><td class="col1 leftalign"> display name       </td><td class="col2 leftalign"> display pin or pad name  </td>
	</tr>
	<tr class="row21">
		<td class="col0 rightalign">          <kbd>Shift</kbd>+<kbd>D</kbd> </td><td class="col1 leftalign"> pinout dialog      </td><td class="col2 leftalign"> open pinout window for element under mouse cursor  </td>
	</tr>
	<tr class="row22">
		<td class="col0 rightalign">            <kbd>E</kbd> </td><td class="col1 leftalign"> eliminate rats     </td><td class="col2 leftalign"> delete all rats  </td>
	</tr>
	<tr class="row23">
		<td class="col0 rightalign">          <kbd>Shift</kbd>+<kbd>E</kbd> </td><td class="col1"> eliminate some rats</td><td class="col2 leftalign"> delete selected rats  </td>
	</tr>
	<tr class="row24">
		<td class="col0 rightalign">            <kbd>F</kbd> </td><td class="col1 leftalign"> find               </td><td class="col2 leftalign"> highlight connections to object under mouse cursor. This includes rats and objects on invisible layers  </td>
	</tr>
	<tr class="row25">
		<td class="col0 rightalign">          <kbd>Ctrl</kbd>+<kbd>F</kbd> </td><td class="col1 leftalign"> add to found       </td><td class="col2 leftalign"> add connections to object under mouse cursor to the set of found objects  </td>
	</tr>
	<tr class="row26">
		<td class="col0 rightalign">          <kbd>Shift</kbd>+<kbd>F</kbd> </td><td class="col1 leftalign"> un-find            </td><td class="col2 leftalign"> un-highlight found connections  </td>
	</tr>
	<tr class="row27">
		<td class="col0 rightalign">            <kbd>G</kbd> </td><td class="col1 leftalign"> incr grid mil      </td><td class="col2 leftalign"> increment grid by configured imperial increment  </td>
	</tr>
	<tr class="row28">
		<td class="col0 rightalign">          <kbd>Shift</kbd>+<kbd>G</kbd> </td><td class="col1 leftalign"> decr grid mil      </td><td class="col2 leftalign"> decrement grid by configured imperial increment  </td>
	</tr>
	<tr class="row29">
		<td class="col0 rightalign">          <kbd>Ctrl</kbd>+<kbd>G</kbd> </td><td class="col1 leftalign"> incr grid mm       </td><td class="col2 leftalign"> increment grid by configured metric increment  </td>
	</tr>
	<tr class="row30">
		<td class="col0 rightalign">        <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>G</kbd> </td><td class="col1 leftalign"> decr grid mm       </td><td class="col2 leftalign"> decrement grid by configured metric increment  </td>
	</tr>
	<tr class="row31">
		<td class="col0 rightalign">            <kbd>H</kbd> </td><td class="col1 leftalign"> hide               </td><td class="col2"> toggle the visibility of the refdes or value attached to the component under the cursor </td>
	</tr>
	<tr class="row32">
		<td class="col0 rightalign">          <kbd>Shift</kbd>+<kbd>H</kbd> </td><td class="col1 leftalign"> hide sel           </td><td class="col2 leftalign"> toggle the visibility of the refdes or value attached to selected components  </td>
	</tr>
	<tr class="row33">
		<td class="col0 rightalign">          <kbd>Ctrl</kbd>+<kbd>H</kbd> </td><td class="col1 leftalign"> holeplate          </td><td class="col2 leftalign"> toggle plating of a via. Used to produce non metalized mounting holes  </td>
	</tr>
	<tr class="row34">
		<td class="col0 rightalign">            <kbd>J</kbd> </td><td class="col1 leftalign"> lineclear          </td><td class="col2 leftalign"> toggle the polygon clear flag of the line under the cursor  </td>
	</tr>
	<tr class="row35">
		<td class="col0 rightalign">          <kbd>Shift</kbd>+<kbd>J</kbd> </td><td class="col1 leftalign"> lineclear sel      </td><td class="col2 leftalign"> toggle the polygon clear flag of selected lines  </td>
	</tr>
	<tr class="row36">
		<td class="col0 rightalign">            <kbd>K</kbd> </td><td class="col1 leftalign"> klear              </td><td class="col2 leftalign"> increment clearance (soldermask to copper edge)  </td>
	</tr>
	<tr class="row37">
		<td class="col0 rightalign">          <kbd>Shift</kbd>+<kbd>K</kbd> </td><td class="col1 leftalign"> klear (-)          </td><td class="col2 leftalign"> decrement clearance (soldermask to copper edge (NOTE: can go negative!))  </td>
	</tr>
	<tr class="row38">
		<td class="col0 rightalign">          <kbd>Ctrl</kbd>+<kbd>K</kbd> </td><td class="col1 leftalign"> klear sel          </td><td class="col2 leftalign"> increment clearance of selected objects (soldermask to copper edge)  </td>
	</tr>
	<tr class="row39">
		<td class="col0 rightalign">        <kbd>Shift</kbd>+<kbd>Ctrl</kbd>+<kbd>K</kbd> </td><td class="col1 leftalign"> klear sel (-)      </td><td class="col2 leftalign"> decrement clearance of selected objects (soldermask to copper edge)  </td>
	</tr>
	<tr class="row40">
		<td class="col0 rightalign">            <kbd>L</kbd> </td><td class="col1 leftalign"> increase line      </td><td class="col2 leftalign"> increment width of the line tool, adds to the settings of the current line style  </td>
	</tr>
	<tr class="row41">
		<td class="col0 rightalign">          <kbd>Shift</kbd>+<kbd>L</kbd> </td><td class="col1 leftalign"> decrease line      </td><td class="col2"> reduce the current linewidth </td>
	</tr>
	<tr class="row42">
		<td class="col0 rightalign">            <kbd>M</kbd> </td><td class="col1 leftalign"> move to layer      </td><td class="col2 leftalign"> move the object under the cursor to the current layer  </td>
	</tr>
	<tr class="row43">
		<td class="col0 rightalign">          <kbd>Shift</kbd>+<kbd>M</kbd> </td><td class="col1"> move selection to layer </td><td class="col2 leftalign"> move selected objects to the current working layer (see <a href="geda-pcb_tips.html#how_do_i_move_one_set_of_layer_tracks_to_another_layer" class="wikilink1" title="geda-pcb_tips.html">pcb tip</a>)  </td>
	</tr>
	<tr class="row44">
		<td class="col0 rightalign">          <kbd>Ctrl</kbd>+<kbd>M</kbd> </td><td class="col1 leftalign"> move origin        </td><td class="col2"> set the origin to the current position of the mouse pointer </td>
	</tr>
	<tr class="row45">
		<td class="col0 rightalign">            <kbd>N</kbd> </td><td class="col1 leftalign"> name               </td><td class="col2"> show object refdes / pin number at mouse pointer </td>
	</tr>
	<tr class="row46">
		<td class="col0 rightalign">          <kbd>Shift</kbd>+<kbd>N</kbd> </td><td class="col1 leftalign"> next               </td><td class="col2"> Select the shortest unselected rat on the board </td>
	</tr>
	<tr class="row47">
		<td class="col0 rightalign">            <kbd>O</kbd> </td><td class="col1 leftalign"> optimize rats      </td><td class="col2"> optimize and redraw all rats </td>
	</tr>
	<tr class="row48">
		<td class="col0 rightalign">          <kbd>Shift</kbd>+<kbd>O</kbd> </td><td class="col1"> optimize some rats </td><td class="col2"> optimize and redraw selected nets only </td>
	</tr>
	<tr class="row49">
		<td class="col0 rightalign">          <kbd>Ctrl</kbd>+<kbd>O</kbd> </td><td class="col1 leftalign"> octagon            </td><td class="col2 leftalign"> toggle the octagon flag of the object under the cursor  </td>
	</tr>
	<tr class="row50">
		<td class="col0 rightalign">          <kbd>Shift</kbd>+<kbd>P</kbd> </td><td class="col1 leftalign"> polygon close      </td><td class="col2 leftalign"> connect the first point of a polygon with the last  </td>
	</tr>
	<tr class="row51">
		<td class="col0 rightalign">            <kbd>Q</kbd> </td><td class="col1 leftalign"> square toggle      </td><td class="col2 leftalign"> toggle square/round corners on pads  </td>
	</tr>
	<tr class="row52">
		<td class="col0 rightalign">          <kbd>Shift</kbd>+<kbd>R</kbd> </td><td class="col1 leftalign"> redo               </td><td class="col2 leftalign"> redo what was undone with undo  </td>
	</tr>
	<tr class="row53">
		<td class="col0 rightalign">          <kbd>Ctrl</kbd>+<kbd>R</kbd> </td><td class="col1 leftalign"> report             </td><td class="col2 leftalign"> show object report  </td>
	</tr>
	<tr class="row54">
		<td class="col0 rightalign">            <kbd>S</kbd> </td><td class="col1 leftalign"> size               </td><td class="col2 leftalign"> increment size of the object under the cursor  </td>
	</tr>
	<tr class="row55">
		<td class="col0 rightalign">          <kbd>Shift</kbd>+<kbd>S</kbd> </td><td class="col1 leftalign"> size (-)           </td><td class="col2 leftalign"> decrement size of the object under the cursor  </td>
	</tr>
	<tr class="row56">
		<td class="col0 rightalign">          <kbd>Alt</kbd>+<kbd>S</kbd> </td><td class="col1 leftalign"> sizehole           </td><td class="col2 leftalign"> increase the hole of the object under the cursor  </td>
	</tr>
	<tr class="row57">
		<td class="col0 rightalign">        <kbd>Alt</kbd>+<kbd>Shift</kbd>+<kbd>S</kbd> </td><td class="col1 leftalign"> sizehole (-)       </td><td class="col2 leftalign"> decrease the hole of the object under the cursor  </td>
	</tr>
	<tr class="row58">
		<td class="col0 rightalign">          <kbd>Ctrl</kbd>+<kbd>S</kbd> </td><td class="col1 leftalign"> sizehole           </td><td class="col2 leftalign"> increase the hole of the object under the cursor  </td>
	</tr>
	<tr class="row59">
		<td class="col0 rightalign">        <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>S</kbd> </td><td class="col1 leftalign"> sizehole (-)       </td><td class="col2 leftalign"> decrease the hole size  </td>
	</tr>
	<tr class="row60">
		<td class="col0 rightalign">            <kbd>T</kbd> </td><td class="col1 leftalign"> text tool size     </td><td class="col2 leftalign"> increase the size of new text by 10 mil  </td>
	</tr>
	<tr class="row61">
		<td class="col0 rightalign">          <kbd>Shift</kbd>+<kbd>T</kbd> </td><td class="col1"> text tool size (-) </td><td class="col2 leftalign"> decrease the size of new text by 10 mil  </td>
	</tr>
	<tr class="row62">
		<td class="col0 rightalign">            <kbd>V</kbd> </td><td class="col1 leftalign"> view extents       </td><td class="col2 leftalign"> global view of working area  </td>
	</tr>
	<tr class="row63">
		<td class="col0 rightalign">          <kbd>Shift</kbd>+<kbd>V</kbd> </td><td class="col1 leftalign"> via tool dia       </td><td class="col2 leftalign"> increase the diameter of new vias by 5 mil  </td>
	</tr>
	<tr class="row64">
		<td class="col0 rightalign">          <kbd>Ctrl</kbd>+<kbd>V</kbd> </td><td class="col1 leftalign"> paste buffer       </td><td class="col2"> paste from buffer </td>
	</tr>
	<tr class="row65">
		<td class="col0 rightalign">        <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>V</kbd> </td><td class="col1 leftalign"> via tool dia (-)   </td><td class="col2 leftalign"> decrease the diameter of new vias by 5 mil  </td>
	</tr>
	<tr class="row66">
		<td class="col0 rightalign">          <kbd>Alt</kbd>+<kbd>V</kbd> </td><td class="col1 leftalign"> via tool drill     </td><td class="col2 leftalign"> increase the drill diameter of new vias by 5 mil  </td>
	</tr>
	<tr class="row67">
		<td class="col0 rightalign">        <kbd>Shift</kbd>+<kbd>Alt</kbd>+<kbd>V</kbd> </td><td class="col1"> via tool drill (-) </td><td class="col2 leftalign"> decrease the drill diameter of new vias by 5 mil  </td>
	</tr>
	<tr class="row68">
		<td class="col0 rightalign">          <kbd>Ctrl</kbd>+<kbd>X</kbd> </td><td class="col1 leftalign"> cut to buffer      </td><td class="col2"> cut selection to buffer </td>
	</tr>
	<tr class="row69">
		<td class="col0 rightalign">            <kbd>Z</kbd> </td><td class="col1 leftalign"> zoom               </td><td class="col2 leftalign"> view: zoom in  </td>
	</tr>
	<tr class="row70">
		<td class="col0 rightalign">          <kbd>Shift</kbd>+<kbd>Z</kbd> </td><td class="col1 leftalign"> un-zoom            </td><td class="col2 leftalign"> view: zoom out  </td>
	</tr>
	<tr class="row71">
		<td class="col0 rightalign">           <kbd>F1</kbd> </td><td class="col1 leftalign"> via                </td><td class="col2"> enter via tool </td>
	</tr>
	<tr class="row72">
		<td class="col0 rightalign">           <kbd>F2</kbd> </td><td class="col1 leftalign"> line               </td><td class="col2 leftalign"> enter line tool  </td>
	</tr>
	<tr class="row73">
		<td class="col0 rightalign">           <kbd>F3</kbd> </td><td class="col1 leftalign"> arc                </td><td class="col2"> enter arc tool </td>
	</tr>
	<tr class="row74">
		<td class="col0 rightalign">           <kbd>F4</kbd> </td><td class="col1 leftalign"> text               </td><td class="col2"> enter text tool </td>
	</tr>
	<tr class="row75">
		<td class="col0 rightalign">           <kbd>F5</kbd> </td><td class="col1 leftalign"> rectangle          </td><td class="col2"> enter rectangle tool</td>
	</tr>
	<tr class="row76">
		<td class="col0 rightalign">           <kbd>F6</kbd> </td><td class="col1 leftalign"> polygon            </td><td class="col2"> enter polygon tool </td>
	</tr>
	<tr class="row77">
		<td class="col0 rightalign">           <kbd>F7</kbd> </td><td class="col1 leftalign"> buffer             </td><td class="col2"> enter buffer mode </td>
	</tr>
	<tr class="row78">
		<td class="col0 rightalign">           <kbd>F8</kbd> </td><td class="col1 leftalign"> delete             </td><td class="col2"> enter remove mode </td>
	</tr>
	<tr class="row79">
		<td class="col0 rightalign">           <kbd>F9</kbd> </td><td class="col1 leftalign"> rotate             </td><td class="col2 leftalign"> enter rotate mode  </td>
	</tr>
	<tr class="row80">
		<td class="col0 rightalign">          <kbd>F10</kbd> </td><td class="col1 leftalign"> file menu          </td><td class="col2"> file menu </td>
	</tr>
	<tr class="row81">
		<td class="col0 rightalign">          <kbd>F11</kbd> </td><td class="col1 leftalign"> select             </td><td class="col2 leftalign"> enter select mode (same as <kbd>Space</kbd>, or <kbd>Esc</kbd>)  </td>
	</tr>
	<tr class="row82">
		<td class="col0 rightalign">          <kbd>F12</kbd> </td><td class="col1 leftalign"> lock               </td><td class="col2"> enter lock mode </td>
	</tr>
</table></div>
<!-- EDIT5 TABLE [588-8452] -->
</div>
<!-- EDIT4 SECTION "All Keystrokes" [562-8453] -->
<h3 class="sectionedit6"><a name="viewport_keystrokes" id="viewport_keystrokes">Viewport Keystrokes</a></h3>
<div class="level3">
<div class="table sectionedit7"><table class="inline">
	<tr class="row0">
		<th class="col0 centeralign">  Key                    </th><th class="col1 centeralign">  Mnemonic        </th><th class="col2 leftalign"> Description  </th>
	</tr>
	<tr class="row1">
		<td class="col0 rightalign">            <kbd>V</kbd> </td><td class="col1 leftalign"> view extents     </td><td class="col2 leftalign"> global view of working area  </td>
	</tr>
	<tr class="row2">
		<td class="col0 rightalign">            <kbd>C</kbd> </td><td class="col1 leftalign"> center           </td><td class="col2 leftalign"> centers view on cursor  </td>
	</tr>
	<tr class="row3">
		<td class="col0 rightalign">            <kbd>Z</kbd> </td><td class="col1 leftalign"> zoom             </td><td class="col2 leftalign"> zoom in       </td>
	</tr>
	<tr class="row4">
		<td class="col0 rightalign">          <kbd>Shift</kbd>+<kbd>Z</kbd> </td><td class="col1 leftalign"> un-zoom          </td><td class="col2 leftalign"> zoom out      </td>
	</tr>
	<tr class="row5">
		<td class="col0 rightalign">  <kbd>|</kbd> </td><td class="col1"> thin-draw </td><td class="col2 leftalign"> toggles thin draw mode  </td>
	</tr>
	<tr class="row6">
		<td class="col0 rightalign">          <kbd>Tab</kbd> </td><td class="col1 leftalign"> flip up/down     </td><td class="col2 leftalign"> vertical flip  </td>
	</tr>
	<tr class="row7">
		<td class="col0 rightalign">        <kbd>Shift</kbd>+<kbd>Tab</kbd> </td><td class="col1 leftalign"> flip left/right  </td><td class="col2 leftalign"> horizontal flip  </td>
	</tr>
	<tr class="row8">
		<td class="col0 rightalign">      <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>Tab</kbd> </td><td class="col1 leftalign"> far side         </td><td class="col2 leftalign"> exchange the roles of front and far side  </td>
	</tr>
</table></div>
<!-- EDIT7 TABLE [8485-9117] -->
</div>
<!-- EDIT6 SECTION "Viewport Keystrokes" [8454-9118] -->
<h3 class="sectionedit8"><a name="layers" id="layers">Layers</a></h3>
<div class="level3">
<div class="table sectionedit9"><table class="inline">
	<tr class="row0">
		<th class="col0 centeralign">  Key                                   </th><th class="col1 centeralign">  Mnemonic  </th><th class="col2 leftalign"> Description  </th>
	</tr>
	<tr class="row1">
		<td class="col0 centeralign">  <kbd>1</kbd> to <kbd>9</kbd>          </td><td class="col1 centeralign">  -  </td><td class="col2 leftalign"> select layers 1 to 9  </td>
	</tr>
	<tr class="row2">
		<td class="col0 centeralign">  <kbd>0</kbd>                          </td><td class="col1 centeralign">  -  </td><td class="col2 leftalign"> select layer 10<sup>*</sup>  </td>
	</tr>
	<tr class="row3">
		<td class="col0 centeralign">  <kbd>Alt</kbd>+<kbd>1</kbd> to <kbd>Alt</kbd>+<kbd>9</kbd>      </td><td class="col1 centeralign">  -  </td><td class="col2 leftalign"> select layers 11 to 19<sup>*</sup>  </td>
	</tr>
	<tr class="row4">
		<td class="col0 centeralign">  <kbd>Alt</kbd>+<kbd>0</kbd>                        </td><td class="col1 centeralign">  -  </td><td class="col2 leftalign"> select layer 20<sup>*</sup>  </td>
	</tr>
	<tr class="row5">
		<td class="col0 centeralign">  <kbd>Ctrl</kbd>+<kbd>1</kbd> to <kbd>Ctrl</kbd>+<kbd>9</kbd>      </td><td class="col1 centeralign">  -  </td><td class="col2 leftalign"> toggle visibility of layers 1 to 9<sup>*</sup>  </td>
	</tr>
	<tr class="row6">
		<td class="col0 centeralign">  <kbd>Ctrl</kbd>+<kbd>0</kbd>                        </td><td class="col1 centeralign">  -  </td><td class="col2 leftalign"> toggle visibility of layer 10<sup>*</sup>  </td>
	</tr>
	<tr class="row7">
		<td class="col0 centeralign">  <kbd>Ctrl</kbd>+<kbd>Alt</kbd>+<kbd>1</kbd> to <kbd>Ctrl</kbd>+<kbd>Alt</kbd>+<kbd>9</kbd>  </td><td class="col1 centeralign">  -  </td><td class="col2 leftalign"> toggle visibility of 11 to 19<sup>*</sup>  </td>
	</tr>
	<tr class="row8">
		<td class="col0 centeralign">  <kbd>Ctrl</kbd>+<kbd>Alt</kbd>+<kbd>0</kbd>                      </td><td class="col1 centeralign">  -  </td><td class="col2 leftalign"> toggle visibility of 20<sup>*</sup>  </td>
	</tr>
</table></div>
<!-- EDIT9 TABLE [9136-9901] -->
<p>
<sup>*</sup> <sub>These accels are available in PCB, GTK <acronym title="Graphical User Interface">GUI</acronym> in versions after August 2011</sub>
</p>

</div>
<!-- EDIT8 SECTION "Layers" [9119-9998] -->
<h1 class="sectionedit10"><a name="footprint_quick_reference" id="footprint_quick_reference">Footprint Quick Reference</a></h1>
<div class="level1">

<p>
The Master document for footprint creation is the <a href="http://pcb.geda-project.org/manual.html" class="urlextern" title="http://pcb.geda-project.org/manual.html"  rel="nofollow">PCB Manual</a>.
</p>

</div>
<!-- EDIT10 SECTION "Footprint Quick Reference" [9999-10296] -->
<h2 class="sectionedit11"><a name="general_syntax" id="general_syntax">General syntax</a></h2>
<div class="level2">

<p>
A pcb footprint file may contain any of the following commands:
</p>
<ul>
<li class="level1"><div class="li"> <strong><code>Element [element_flags, description, pcb_name, value, mark_x, mark_y, text_x, text_y, text_direction, text_scale, text_flags]</code></strong></div>
</li>
<li class="level1"><div class="li"> <strong><code>Pad [x1 y1 x2 y2 thickness clearance mask name pad_number flags]</code></strong></div>
</li>
<li class="level1"><div class="li"> <strong><code>Pin [x y thickness clearance mask drillholedia name number flags]</code></strong></div>
</li>
<li class="level1"><div class="li"> <strong><code>ElementArc [x y r1 r2 startangle sweepangle thickness]</code></strong></div>
</li>
<li class="level1"><div class="li"> <strong><code>ElementLine [x1 y1 x2 y2 thickness] –&gt; thickness != 1000 = 10 mils almost for all footprints</code></strong></div>
</li>
<li class="level1"><div class="li"> Comment lines start with the ‘<strong><code>#</code></strong>’-sign</div>
</li>
</ul>

</div>
<!-- EDIT11 SECTION "General syntax" [10297-10909] -->
<h2 class="sectionedit12"><a name="pcb_units" id="pcb_units">PCB Units</a></h2>
<div class="level2">

<p>
PCB handles metric and imperial units in the following way:
</p>
<ul>
<li class="level1"><div class="li"> The base Imperial unit is the “centimil”, or 1/100 of a thousandth, or 1/100,000 inch, or 0.00001 inch.</div>
</li>
<li class="level3"><div class="li"> Allowable imperial value range:  “0.04” (0.0000004 inches) to approx. “78740000” (about 78-3/4”)</div>
</li>
<li class="level3"><div class="li"> The base Metric unit is 1nm (one nanometer).  PCB parses in metric if the number has a “mm” behind it.</div>
</li>
<li class="level3"><div class="li"> Allowable metric value range:  “0.000001mm” to “2000mm”</div>
</li>
<li class="level3"><div class="li"> NOTES:</div>
<ul>
<li class="level4"><div class="li"> use “mm” after number to specify metric</div>
</li>
<li class="level4"><div class="li"> imperial and metric may be mixed within a footprint (!)</div>
</li>
</ul>
</li>
</ul>

</div>
<!-- EDIT12 SECTION "PCB Units" [10910-11522] -->
<h2 class="sectionedit13"><a name="elements" id="elements">Elements</a></h2>
<div class="level2">

<p>
<strong><code>Element [element_flags, description, pcb_name, value, mark_x, mark_y, text_x, text_y, text_direction, text_scale, text_flags]</code></strong>
</p>
<div class="table sectionedit14"><table class="inline">
	<tr class="row0">
		<th class="col0 leftalign">    </th><th class="col1 rightalign">  Allowed value (unit = 1e-5 inches) </th><th class="col2 centeralign">  Allowed Value (mm)  </th><th class="col3 centeralign">  explanation  </th><th class="col4 centeralign">  comment  </th>
	</tr>
	<tr class="row1">
		<td class="col0 centeralign">  element_flags  </td><td class="col1 centeralign">  unsigned hex value  </td><td class="col2 leftalign">  </td><td class="col3 leftalign">  </td><td class="col4"></td>
	</tr>
	<tr class="row2">
		<td class="col0 centeralign">  description  </td><td class="col1 centeralign">  string  </td><td class="col2 leftalign">  </td><td class="col3 centeralign">  text description of footprint  </td><td class="col4 centeralign">  user-defined  </td>
	</tr>
	<tr class="row3">
		<td class="col0 centeralign">  pcb_name  </td><td class="col1 centeralign">  string  </td><td class="col2 leftalign">  </td><td class="col3 rightalign">  generic refdes (R?, U? etc.) </td><td class="col4 centeralign">  user-defined   </td>
	</tr>
	<tr class="row4">
		<td class="col0 centeralign">  value  </td><td class="col1 centeralign">  string  </td><td class="col2 leftalign">  </td><td class="col3 centeralign">  component value (layout specific)  </td><td class="col4 centeralign">  user-defined (blank)  </td>
	</tr>
	<tr class="row5">
		<td class="col0 centeralign">  mark_x  </td><td class="col1 centeralign">  “1” to ~ “78740000”  </td><td class="col2 centeralign">  “0.000001mm” to “2000mm”  </td><td class="col3 centeralign">  (x,y) loc. of center mark  </td><td class="col4 leftalign">  </td>
	</tr>
	<tr class="row6">
		<td class="col0 centeralign">  mark_y  </td><td class="col1 centeralign">  “1” to ~ “78740000”  </td><td class="col2 centeralign">  “0.000001mm” to “2000mm”  </td><td class="col3 leftalign">  </td><td class="col4 leftalign">  </td>
	</tr>
	<tr class="row7">
		<td class="col0 centeralign">  text_x  </td><td class="col1 centeralign">  “1” to ~ “78740000”  </td><td class="col2 centeralign">  “0.000001mm” to “2000mm”  </td><td class="col3 centeralign">  (x,y) loc. of REFDES  </td><td class="col4 leftalign">  </td>
	</tr>
	<tr class="row8">
		<td class="col0 centeralign">  text_y  </td><td class="col1 centeralign">  “1” to ~ “78740000”  </td><td class="col2 centeralign">  “0.000001mm” to “2000mm”  </td><td class="col3 leftalign">  </td><td class="col4 leftalign">  </td>
	</tr>
	<tr class="row9">
		<td class="col0 centeralign">  text_direction  </td><td class="col1 centeralign">  decimal integer  </td><td class="col2 leftalign">  </td><td class="col3 centeralign">  0=horiz; 1=ccw90; 2=180; 3=cw90  </td><td class="col4 leftalign">  </td>
	</tr>
	<tr class="row10">
		<td class="col0 centeralign">  text_scale  </td><td class="col1 centeralign">  decimal integer  </td><td class="col2 leftalign">  </td><td class="col3 leftalign">  </td><td class="col4 centeralign">  usu. set to 100  </td>
	</tr>
	<tr class="row11">
		<td class="col0 centeralign">  text_flags  </td><td class="col1 centeralign">  unsigned hex  </td><td class="col2 leftalign">  </td><td class="col3 leftalign">  </td><td class="col4 leftalign">  </td>
	</tr>
</table></div>
<!-- EDIT14 TABLE [11679-12600] -->
</div>
<!-- EDIT13 SECTION "Elements" [11523-12601] -->
<h2 class="sectionedit15"><a name="pads" id="pads">Pads</a></h2>
<div class="level2">

<p>
<strong><code>Pad[x1 y1 x2 y2 thickness clearance mask name pad_number flags]</code></strong>
</p>
<div class="table sectionedit16"><table class="inline">
	<tr class="row0">
		<th class="col0 centeralign">  Item  </th><th class="col1 centeralign">  Allowed Value  </th><th class="col2 centeralign">  Explanation  </th><th class="col3 centeralign">  Comment  </th>
	</tr>
	<tr class="row1">
		<td class="col0 centeralign">  x1  </td><td class="col1 centeralign">  1/100th mil  </td><td class="col2 centeralign">  x (1st point)  </td><td class="col3 leftalign">   </td>
	</tr>
	<tr class="row2">
		<td class="col0 centeralign">  y1  </td><td class="col1 centeralign">  1/100th mil  </td><td class="col2 centeralign">  y (1st point)  </td><td class="col3 leftalign">   </td>
	</tr>
	<tr class="row3">
		<td class="col0 centeralign">  x2  </td><td class="col1 centeralign">  1/100th mil  </td><td class="col2 centeralign">  x (2nd point)  </td><td class="col3 leftalign">   </td>
	</tr>
	<tr class="row4">
		<td class="col0 centeralign">  y2  </td><td class="col1 centeralign">  1/100th mils  </td><td class="col2 centeralign">  y (2nd point)  </td><td class="col3 leftalign">   </td>
	</tr>
	<tr class="row5">
		<td class="col0 centeralign">  thickness  </td><td class="col1 centeralign">  1/100 mils  </td><td class="col2 centeralign">  width of metal surrounding line segment  </td><td class="col3 leftalign">see Brorson .pdf  </td>
	</tr>
	<tr class="row6">
		<td class="col0 centeralign">  clearance  </td><td class="col1 centeralign">  1/100 mils  </td><td class="col2 centeralign">  distance to any other copper on any layer  </td><td class="col3 leftalign">actually 1/2 of this number is used!  </td>
	</tr>
	<tr class="row7">
		<td class="col0 centeralign">  mask  </td><td class="col1 centeralign">  1/100th mils  </td><td class="col2 centeralign">  width of mask relief  </td><td class="col3 leftalign">actual width of the mask centered on pad copper  </td>
	</tr>
	<tr class="row8">
		<td class="col0 centeralign">  name  </td><td class="col1 centeralign">  string  </td><td class="col2 centeralign">  name of pad (arb. string)  </td><td class="col3 leftalign">e.g. &quot;pad_1&quot; or &quot;positive&quot; or any other string  </td>
	</tr>
	<tr class="row9">
		<td class="col0 centeralign">  pad_number  </td><td class="col1 centeralign">  string  </td><td class="col2 centeralign">  pad #  </td><td class="col3 leftalign"> used for nets. it MUST be consistent with the definitions on the netlist.  </td>
	</tr>
	<tr class="row10">
		<td class="col0 centeralign">  flags  </td><td class="col1 centeralign">  hex or string  </td><td class="col2 leftalign">   </td><td class="col3 leftalign"> examples:  </td>
	</tr>
</table></div>
<!-- EDIT16 TABLE [12692-13521] -->
</div>
<!-- EDIT15 SECTION "Pads" [12602-13522] -->
<h2 class="sectionedit17"><a name="pins" id="pins">Pins</a></h2>
<div class="level2">

<p>
<strong><code>Pin[x y thickness clearance mask drillholedia name number flags]</code></strong>
</p>
<div class="table sectionedit18"><table class="inline">
	<tr class="row0">
		<th class="col0 centeralign">  Item  </th><th class="col1 leftalign"> Allowed Value  </th><th class="col2 centeralign">  Explanation  </th><th class="col3 centeralign">  Comment  </th>
	</tr>
	<tr class="row1">
		<td class="col0 centeralign">  x  </td><td class="col1 centeralign">  1/100th mils  </td><td class="col2 centeralign">  pin x coord.  </td><td class="col3 leftalign">  </td>
	</tr>
	<tr class="row2">
		<td class="col0 centeralign">  y  </td><td class="col1 centeralign">  1/100th mils  </td><td class="col2 centeralign">  pin y coord.  </td><td class="col3 leftalign">  </td>
	</tr>
	<tr class="row3">
		<td class="col0 centeralign">  thickness  </td><td class="col1 centeralign">  1/100th mils  </td><td class="col2 centeralign">  copper diameter  </td><td class="col3 leftalign">  </td>
	</tr>
	<tr class="row4">
		<td class="col0 centeralign">  clearance  </td><td class="col1 centeralign">  1/100th mils  </td><td class="col2 centeralign">  2*(cu to cu clearance)  </td><td class="col3 leftalign">if you want a 10 mil clearance, put 2000 (20 mils) here  </td>
	</tr>
	<tr class="row5">
		<td class="col0 centeralign">  mask  </td><td class="col1 centeralign">  1/100th mils  </td><td class="col2 centeralign">  diameter of mask aperture  </td><td class="col3 leftalign">actual dia. of hole in mask  </td>
	</tr>
	<tr class="row6">
		<td class="col0 centeralign">  drillholedia  </td><td class="col1 centeralign">  1/100th mils  </td><td class="col2 centeralign">  dia. of hole  </td><td class="col3 leftalign">  </td>
	</tr>
	<tr class="row7">
		<td class="col0 centeralign">  name  </td><td class="col1 centeralign">  string  </td><td class="col2 centeralign">  arb. pin name  </td><td class="col3 leftalign">  </td>
	</tr>
	<tr class="row8">
		<td class="col0 centeralign">  number  </td><td class="col1 centeralign">  decimal integer  </td><td class="col2 centeralign">  pin number used by nets/rats  </td><td class="col3 leftalign">  </td>
	</tr>
	<tr class="row9">
		<td class="col0 centeralign">  flags  </td><td class="col1 centeralign">  hex  </td><td class="col2 centeralign">  xxx  </td><td class="col3 leftalign">  </td>
	</tr>
</table></div>
<!-- EDIT18 TABLE [13614-14220] -->
</div>
<!-- EDIT17 SECTION "Pins" [13523-14221] -->
<h2 class="sectionedit19"><a name="examples" id="examples">Examples</a></h2>
<div class="level2">
<ul>
<li class="level1"><div class="li"> <strong><code>Pad[-24606 14760 -19538 14760 1181 2000 3181 &quot;&quot; &quot;16&quot; &quot;square&quot;]</code></strong></div>
</li>
<li class="level1"><div class="li"> <strong><code>Pad[-14760 19538 -14760 24606 1181 2000 3181 &quot;&quot; &quot;17&quot; &quot;square,edge2&quot;]</code></strong></div>
</li>
<li class="level1"><div class="li"> <strong><code>Pin[0 0 12000 2000 12500 6400 &quot;&quot; &quot;1&quot; 0×00000001]</code></strong></div>
</li>
<li class="level1"><div class="li"> <strong><code>ElementArc [0 0 6800 6800 0 360 1000]</code></strong></div>
</li>
<li class="level1"><div class="li"> <strong><code>ElementLine [-26696 -26696 26696 -26696 1000]</code></strong></div>
</li>
<li class="level1"><div class="li"> <strong><code># notes within PCB Footprints go after the pound sign</code></strong></div>
</li>
</ul>

</div>
<!-- EDIT19 SECTION "Examples" [14222-14660] -->
<h1 class="sectionedit20"><a name="pcb_command_line_action_reference_abridged" id="pcb_command_line_action_reference_abridged">PCB Command Line Action Reference (abridged)</a></h1>
<div class="level1">
<div class="table sectionedit21"><table class="inline">
	<tr class="row0">
		<td class="col0" colspan="2">:FreeRotateBuffer(degrees)</td><td class="col2">Rotate buffer arbitrarily </td>
	</tr>
	<tr class="row1">
		<td class="col0" colspan="2">:MoveObject(x,y,unit) </td><td class="col2">Move Absolute (x,y,mil) or Relative(+x,-y,mil)</td>
	</tr>
	<tr class="row2">
		<td class="col0" colspan="2">:ChangeClearSize(Selected,&lt;amount&gt;,&lt;unit&gt;)</td><td class="col2"> Clearance Size</td>
	</tr>
	<tr class="row3">
		<td class="col0" colspan="2">:ChangeSize(SelectedPins, SIZE)</td><td class="col2"> Pin Size </td>
	</tr>
	<tr class="row4">
		<td class="col0" colspan="2">:ChangeSize(SelectedLines,+N,mils)</td><td class="col2"> Line Size </td>
	</tr>
	<tr class="row5">
		<td class="col0" colspan="2">:MinClearGap(Selected,&lt;amount&gt;,&lt;unit&gt;)</td><td class="col2"> Clearance Gap </td>
	</tr>
</table></div>
<!-- EDIT21 TABLE [14720-15065] --><ul>
<li class="level1"><div class="li"> units can be specified as mm or mil.</div>
</li>
<li class="level1"><div class="li"> <a href="http://pcb.geda-project.org/pcb-20100929/pcb.html#Action-Reference" class="urlextern" title="http://pcb.geda-project.org/pcb-20100929/pcb.html#Action-Reference"  rel="nofollow">Action Reference from the PCB Manual</a></div>
</li>
</ul>

</div>
<!-- EDIT20 SECTION "PCB Command Line Action Reference (abridged)" [14661-15221] -->
<h1 class="sectionedit22"><a name="pcb_physical_layer_reference" id="pcb_physical_layer_reference">PCB Physical Layer Reference</a></h1>
<div class="level1">
<ul>
<li class="level1"><div class="li"> outline layer reference</div>
</li>
<li class="level1"><div class="li"> physical layer how-to (outline, direct (x,y) footprint placement, part insertion)</div>
</li>
</ul>

</div>
<!-- EDIT22 SECTION "PCB Physical Layer Reference" [15222-] --></div>
</body>
</html>
